package com.dst.service;

import com.dst.entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("user")
public interface FeignService {
  @GetMapping("/user-test/user/selectOne/{id}")
  public User selectOne(@PathVariable("id") Integer id);
}
